<template>
  <div>
    <div>我是详情</div>
    <div>菜名：{{ route.query.name }}</div>
    <div>价格：{{ route.query.price }}</div>
  </div>
</template>
<script setup>
import { useRoute } from "vue-router";
const route = useRoute();
// const query = route.query;
</script>
<style></style>
